package com.blog.user.service;

import com.blog.user.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zw
 * @since 2022-02-21
 */
public interface BlogService extends IService<Blog> {
     Map<String, Object> getAllBlog(Integer pageSize, Integer limit);
     Map<String,Object> getAllBlogByTitle(String title,Integer pageSize,Integer limit);
     boolean deleteArticle(String userId,Integer id);
}
